---
layout: default
title: 分类
header: Posts By Category
---
  <link rel="stylesheet" href="/assets/main.css"> 
  <link rel="stylesheet" href="../css/bootstrap.min.css" />
  <link rel="stylesheet" href="../css/common.css"/>
  
	<script src="../js/jquery-3.1.1.min.js"></script>
	<script src="../js/bootstrap.min.js"></script>
    
	<div class="home" style="margin-top: 70px;margin-left: -160px;">
		<div class="container docs-container">
			<div class="row">
				<div class="col-md-3">
					<div class="sidebar hidden-print" role="complementary">
						<div id="navigation">
							<h1>目录</h1>
							<ul class="nav sidenav">
								<!--{% assign user = site.users | split :' ' %}
								{% for u in user %}
								<p>{{ u }}</p>
								{% endfor %}-->
								{% assign sortCategory = site.categories  %}
								{% if site.categories.first[0] == null %} {% for category in sortCategory %}
								<li>
									<a href="#{{ category }}-ref">
										{{ category | join: "/" }} <span style="color: #999999;">({{ site.categories[category].size }})</span>
									</a>
								</li>
								{% endfor %} {% else %} {% for category in site.categories %}
								<li>
									<a href="#{{ category[0] }}-ref">
										{{ category[0] | join: "/" }} <span style="color: #999999;">({{ category[1].size }})</span>
									</a>
								</li>
								{% endfor %} {% endif %}
							</ul>
						</div>
					</div>
				</div>
				<div class="col-md-9" role="main">
					<div class="panel docs-content">
						<div class="wrapper">
							<div class="home">
								
								{% for category in sortCategory %}
								<h2 id="{{ category[0] }}-ref" class="" >{{ category[0] | join: "/" }}</h2>
								<ul>
									{% assign pages_list = category[1] %} {% include LessOrMore/pages_list %}
								</ul>
								{% endfor %}
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<!--<p class="rss-subscribe">subscribe <a href="/feed.xml">via RSS</a></p>-->
	</div>
{% assign sortCategory = nil %}


 


